UNO R4 Arduino IDE Tutorial

Windown System

1. Download and Install IDE

1. download Arduino IDE (Arduino IDE2.1.1 and later versions support UNO R4).

For old version of Arduino IDE, press Ctrl+ Shift+P and execute “Arduino: Check for Arduino IDE Updates” command.

Or direct to download the latest version at Arduino IDE.

Img

Click “JUST DOWNLOAD” .

Img

Click “JUST DOWNLOAD” again to download the package of arduino-ide_2.3.2_Windows_64bit.exe .

Downloaded:

Img

2. Install Arduino IDE.

Click the package of arduino-ide_2.3.2_Windows_64bit.exe and you will see an interface, please click “I Agree” . Img

Tick “Anyone who uses this computer (all users)”, and “Next” .

Img

Click “Browse…” to choose a path for installation. Disk C is recommended. After that, click “Install”.

Img

Installed:

Img

3. Open Arduino IDE.

Img

Img – Used to check for any compilation errors.

Img – Used to upload programs to the Arduino board.

Img – Used for single-step debugging while writing programs.

Img – Used to receive serial data from the board and send them to the serial monitor of the board.

Img – Used to convert the data received by the serial port into a dynamic graph.

Img – Used to open a recently saved sample Sketch.

Img – Used to manually install the development board.

Img – Used to manually install library files.

2. Install Arduino UNO R4 Board Package

1. Click Img to open “BOARDS MANAGER”. Search “UNO R4” to “INSTALL” Arduino UNO R4.

Img

2. In “Tools” → “Board”, Arduino UNO R4 boards includes two options: “Arduino UNO R4 WiFi” and “Arduino UNO R4 Minima”.

Img

If you connect the UNO R4 WiFi Board to your computer via USB cable, choose “Arduino UNO R4 WiFi”:

Img

If you connect UNO R4 Minima board to the computer via USB cable, choose “Arduino UNO R4 Minima”:

Img

3. Compile and Upload Sketch

1. For the first use of Arduino UNO R4 board, there may be no port after plugging USB cable. Click “Tools” → “Port” and you will see “COM1”. Here we take “Arduino UNO R4 WIFI” to have a demonstration.

Img

2. Wait for a while and Arduino UNO R4 driver will be installed automatically. After that, open “Tools” → “Port” and you will see “COM 7(Arduino UNO R4 WIFI)”. Choose this port.

Img

3. Run program “File”→“Examples”→“01 Basics”→“Blink”, which can be executed without any external library.

Img

Img

4. Click Img to upload the program to UNO R4 WiFi board, and the on-board LED-L blinks.

Img

Img

Img

For how to upload code to UNO R4 Minima board, please refer to the above steps.

MacOS System

1. Download and Install IDE

Choose the macOS version of Arduino IDE, and its method of download and install are similar to that of Windows.

Img

Once the download is complete, click it and follow the prompts to install.

Special Reminder: Other operations can refer to the relevant content of the Windown system above.